/**
 * 
 */
package info.pello.operators;

/**
 * @author daniel_ancin
 *
 */
public class Operators {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
	float euros = 0;
	int number = 0;
	int result = 0;
	
	// Operators: + - * / % 
	number = 600;
	result =  number + 66;
	
	euros = 166.386f;
	
	System.out.println(" 6 euros are " + (euros * 6));
	
	// += -= *= /= %= Operators
	
	number = number * 666;
	
	// is equal to 
	
	number *=666;
	
	// ++ --
	number = number + 1;
	// is equal to 
	number++;
	number --;  /*  decrement */
	
	number = ++result;
	number = result++;
	
	boolean isgreater = false;
	//comparison operators
	//>,<, >=, <=, ==, !=;
	//returns true or false
	isgreater = number > 666;
	isgreater = number > 34298539;
	
	boolean istrue = false;
	
	istrue = 666 == 666;
	istrue = 0!= 1;
	
	//Boolean operators
	//&&, ||, !
	istrue = (number > 666) && (number !=0);
	istrue = !(number ==0);
			
			

	}

}
